package com.zsr.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsr.example.entity.EduComment;
import com.zsr.example.vo.CommentReq;
import com.zsr.example.vo.CommentVo;

import java.util.List;

/**
 * <p>
 * 评论 Mapper 接口
 * </p>
 *
 * @author zsr
 * @since 2021-12-04
 */
public interface EduCommentMapper extends BaseMapper<EduComment> {
    /**
     * 获取我的 已读和未读列表
     * @param uId
     * @return
     */
    List<EduComment> getMyReplyMsg(String uId);

    List<CommentVo> getCommentList(CommentReq commentReq);
}
